<!DOCTYPE html>
<html lang="zh-cmn-Hans">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="description" content="cms">
        <meta name="keywords" content ="cms">
        <meta name="author" content="LM">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0, user-scalable=no ">
        <title>
            {$web_name.system_value}
        </title>
        <link href="/Show/Home/Public/css/bootstrap.min.css" rel="stylesheet" type ="text/css"/>
        <link href="/Show/Home/Public/css/common.css"rel="stylesheet"type="text/css">
        <!--在小于767像素的屏幕里；这里的样式才有效-->
        <link media="only screen and (max-width: 767px)"href="/Show/Home/Public/css/index1.css" rel="stylesheet"type="text/css">
        <!--在767和991像素之间的屏幕里，这样的样式才有效-->
        <link media="only screen and (min-width: 768px) and (max-width: 991px)"href="/Show/Home/Public/css/index2.css" rel="stylesheet"type="text/css">
        <!--在992和1199像素之间的屏幕里，这样的样式才有效-->
        <link media="only screen and (min-width: 992px) and (max-width: 1199px)"href="/Show/Home/Public/css/index3.css"rel="stylesheet"type="text/css">
        <!--在大于1200像素的屏幕里，这样才有效-->
        <link media="only screen and (min-width: 1200px)"href="/Show/Home/Public/css/index4.css"rel="stylesheet">
    </head>
    <body>
        <!--顶部logo-->
        <div class="fluid logo">

            <div class="row">
                <div class="col-md-9 mobile-logo">
                    <img src="{$index_logo.system_value}" class="img-responsive"width="50%"height="50%"/>
                </div>

                <div class="col-md-3 pc-distance mobile-distance">
                    <form class="navbar-form" role="search">
                        <div class="input-group ipad">
                            <input type="text" class="form-control"placeholder="请输入要查询的内容">
                            <div class="input-group-btn">
                                <button class="btn btn-default">搜索</button>
                            </div>

                        </div>
                    </form>
                </div>
            </div>

        </div>
        <!--导航条-->
        <nav class="navbar navbar-default " >
            <div class="container">
                <div class="navbar-header mobile-nav">

                    <button type="button"class="navbar-toggle"data-toggle="collapse"data-target="#navbar-collapse">

                        <span class="sr-only">切换导航</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                </div>
                <div class="collapse navbar-collapse" id="navbar-collapse">
                    <ul class="nav navbar-default nav-justified">
                        <li><a href="#" class="decorate active">主页</a></li>
                         {section name=f loop=$flist}
                        <li class="dropdown">
                            <a href="" class="dropdown-toggle decorate" data-toggle="dropdown">{$flist[f].name}
                                <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu delete ">
                                {section name=z loop=$zlist}
                                {if $zlist[z].n_id==$flist[f].id}
                                <li><a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$zlist[z].id}">{$zlist[z].key_work}</a></li>
                                {/if}
                                {/section}
                            </ul>
                        </li>
                        {/section}
                        {section name=d loop=$dlink}
                            {section name=z loop=$zlink}
                             {if $zlink[z].link_f_id==$dlink[d].link_class_id}
                             <li><a href="{$zlink[z].link_address}" class="decorate active">{$zlink[z].link_name}</a></li>
                             {/if}
                            {/section}
                        {/section}
                    </ul>
                </div>
            </div>
        </nav>

        <!--轮播器-->
        <div id="mycarousel" class="carousel slide" data-ride="carousel">
            <ol class="carousel-indicators">
                <li data-target="#mycarousel" data-slide-to="0" class="active"></li>
                <li data-target="#mycarousel" data-slide-to="1"></li>
                <li data-target="#mycarousel" data-slide-to="2"></li>
                <li data-target="#mycarousel" data-slide-to="3"></li>
                <li data-target="#mycarousel" data-slide-to="4"></li>
                <li data-target="#mycarousel" data-slide-to="5"></li> 
            </ol>
            <div class="carousel-inner"role="listbox">
                <div class="item active">
                    <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$round.id}" target="_blank"><img src="{$round.picture}"width="1400px"height="400px"/></a>
                    <div class="carousel-caption pc-title ipad-title mobile-title">{$round.title}</div>
                </div>
                {section name=n loop=$roundB}
                <div class="item">
                    <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$roundB[n].id}" target="_blank"><img src="{$roundB[n].picture}"width="100%"height="400px"/></a>
                    <div class="carousel-caption pc-title ipad-title mobile-title">{$roundB[n].title}</div>
                </div>
                {/section}
                <a class="carousel-control left" href="#mycarousel" role="button"
                   data-slide="prev">
                    <span class="glyphicon glyphicon-chevron-left"></span>
                    <span class="sr-only">Previous</span>
                </a>
                <a class="carousel-control right" href="#mycarousel" 
                   data-slide="next">
                    <span class="glyphicon glyphicon-chevron-right"></span>
                    <span class="sr-only">Next</span>
                </a>

            </div>
        </div>

        <div class="container">
            <div class="row">
                <!--综合要闻-->
                <div class="col-md-3 index-set">
                    <h2 class="text-info">{$classA.name}</h2>
                    <hr class="index-bor">
                    <img src="{$listA[0].picture}"class="img-responsive"/>
                    <ul class="pc-pad">
                        {section name=n loop=$listA}
                        <hr>
                        <li class="index-edge">
                            <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$listA[n].id}" class="index-link" target="_blank">{$listA[n].title}  {$listA[n].time|date_format:"%Y-%m-%d %H:%M:%S"}
                            </a>
                        </li> 
                        {/section}
                    </ul> 

                </div>

                <!--,校园公告，校园动态，媒体嘉大-->
                <div class="col-md-7 pc-dis ">
                    <!--校园动态-->
                    <!--校园动态，媒体嘉大-->
                    <div class="row">
                        <div class="col-md-6">
                            <h2 class="text-info">{$classB.name}</h2>
                            <hr class="index-bor">
                            <ul>
                                {section name=b loop=$listB}
                                <li>
                                    <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$listB[b].id}" class="index-link" target="_blank">
                                        {$listB[b].title}  {$listB[b].time|date_format:"%Y-%m-%d %H:%M:%S"}
                                    </a>
                                </li>                           
                                <hr>
                                {/section}
                            </ul>

                        </div>

                        <div class="col-md-6 ">
                            <h2 class="text-info">{$classC.name}</h2><P>
                            <hr class="index-bor">
                            <ul>
                                {section name=c loop=$listC}
                                <li>
                                    <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$listC[c].id}" target="_blank" class="index-link">
                                         {$listC[c].title}  {$listC[c].time|date_format:"%Y-%m-%d %H:%M:%S"}
                                    </a>
                                </li>
                                <hr>
                                {/section}
                            </ul>

                        </div>

                    </div>
                    <!--校园公告-->
                    <div class="row">
                        <h2 class="text-info pc-mar ipad-adju">{$classD.name}</h2>
                        <hr class="index-bor">
                        <div class="col-md-4 ">
                            <img src="{$listD[0].picture}"class="img-responsive"width="100%"/>
                            <hr>
                            <ul>
                                {section name=d loop=$listD}
                                <li>
                                    <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$listD[d].id}" target="_blank" class="index-link">
                                      {$listD[d].title}  {$listD[d].time|date_format:"%Y-%m-%d %H:%M:%S"}
                                    </a>
                                </li>
                                <hr>
                                {/section}
                            </ul>


                        </div>
                        <div class="col-md-4 ">
                            <ul>
                              {section name=t loop=$listD2}
                                <li>
                                    <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$listD2[t].id}" target="_blank" class="index-link">
                                        {$listD2[t].title}  {$listD2[t].time|date_format:"%Y-%m-%d %H:%M:%S"}
                                    </a>
                                </li>
                                <hr>
                                {/section}
                            </ul>
                        </div>
                        <div class="col-md-4 c">
                            <ul>
                                 {section name=r loop=$listD3}
                                <li>
                                    <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$listD3[r].id}" target="_blank" class="index-link">
                                        {$listD3[r].title}  {$listD3[r].time|date_format:"%Y-%m-%d %H:%M:%S"}
                                    </a>
                                </li>
                                <hr>
                                {/section}
                            </ul>
                        </div>

                    </div>

                </div>
            </div>
        </div>
        <div class="arrow">
            <a href="{$smarty.const.__MODULE__}/Newslist/news" target="_blank">	进入新闻网 
                <span class="glyphicon glyphicon-chevron-right "></span>
                <span class="sr-only">Next</span>
            </a>
        </div>


        <!--友情链接-->
        <div class="link">
            <div class="container-fluid ">
                <div class="row">
                    {section name=n loop=$flink}
                    <div class="col-md-3 link-distance">
                        <P>
                            {$flink[n].link_class_name}
                        </p>
                        {section name=z loop=$zlink}
                        {if $flink[n].link_class_id==$zlink[z].link_f_id}
                        <p>
                            <a href="{$zlink[z].link_address}" target="_blank" class="link-footer">
                                {$zlink[z].link_name}
                            </a>
                        </p>
                        {/if}
                        {/section}
                    </div> 
                    {/section}
                </div>					 
            </div>
            <div class="footer">
                <div class="fluid">
                    <div class="row">


                        <div class="footer-logo col-md-6">
                            <img src="/Show/Home/Public/img/logo.jpg"class="img-responsive pc-edge"width="40%">
                        </div>
                        <div class="footer-text col-md-6">
                            <P>
                                粤ICP备05008878号<br>
                                地址：广东省梅州市梅松路　邮编：514015　维护：信息网络中心<br>
                                版权所有©嘉应学院<br>
                            </p>

                        </div>
                    </div>
                </div>
                <script text="javascript" src="/Show/Home/Public/js/jquery.min.js"></script>
                <script text="javascript" src="/Show/Home/Public/js/bootstrap.min.js"></script>	
                <script type="text/javascript">

                </script>
                <!--[if lt IE9]-->
                <script src="http://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
                <script src="http://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js">
                </script>
                <!--[endif]-->
                </body>
                </html>
